﻿<!DOCTYPE html>

<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8" />
    <title></title>
</head>
<body>

    <script>
        //获取选中的项
        $("#Metadata-EnableWorkflow").change(function () {
            var options = $("#Metadata-EnableWorkflow option:selected");
            var selectedValue = options.val();
            if (selectedValue) {

            }

        });


        //提交前添加一项赋值操作
       





        //EnableWorkflow
        //ApprovalLevels
        //1level、2levels、3levels、4levels
        //L1Approve
        //L1ApproveUsers、L2ApproveUsers、L3ApproveUsers、FinalApprovers
        //Level1Approval

        function getUserInfo(dpid, data) {           
            var k=  AppDesign.Field("L1Approve").getValue();
            AppDesign.Field("L1ApproveUsers").setValue(k);
        } 



        //AppDesign.Field("ApprovalLevels").getValue()
    </script>
</body>
</html>